﻿#pragma once


// BuffDlg 对话框

class BuffDlg : public CDialogEx
{
	DECLARE_DYNAMIC(BuffDlg)

public:
	BuffDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~BuffDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_BUFF };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CListCtrl list_buff_;
	CListCtrl list_debuff_;
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	virtual BOOL OnInitDialog();
private:
	void ShowInfo();
	void ShowPlayerBuffInfo();
	void ShowTargetDebuffInfo();
	void InitList();
};
